import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson
} from '../utils/request';

//查询当前组织下属订单列表
export function queryTradeOrderTotal(data) {
  return post('/api/trade-service/v1/orderManage/queryTradeOrderTotal', data);
  //return post('http://127.0.0.1:9097/v1/orderManage/queryTradeOrderTotal', data);
}

//查询当前组织数据
export function queryOrgTotal(data) {
  return post('/api/trade-service/v1/orderManage/queryOrgTotal', data);
  //return post('http://127.0.0.1:18080/api/trade-service/v1/orderManage/queryOrgTotal', data);
}

//查询当前组织下属组织列表
export function queryOrgChildList(data) {
  return post('/api/trade-service/v1/orderManage/queryOrgChildList', data);
  //return post('http://127.0.0.1:18080/api/trade-service/v1/orderManage/queryOrgChildList', data);
}

//分页查询门店订单列表
export function queryOrgOrderList(data) {
  return post('/api/trade-service/v1/orderManage/queryOrgOrderList', data);
  //return post('http://127.0.0.1:18080/api/trade-service/v1/orderManage/queryOrgOrderList', data);
}

//订单详情列表
export function queryOrderGoodsList(data) {
  return post('/api/trade-service/v1/orderManage/queryOrderGoodsList', data);
  //return post('http://127.0.0.1:18080/api/trade-service/v1/orderManage/queryOrderGoodsList', data);
}
